package jsyf.oa.facade.report.expense;

import com.alibaba.dubbo.rpc.protocol.rest.support.ContentType;
import com.alibaba.fastjson.JSONObject;

import javax.ws.rs.Consumes;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import java.util.List;

/**
 * Created by Administrator on 2018/4/4.
 */
@Path("/reportCostService")
@Consumes({MediaType.APPLICATION_JSON, MediaType.TEXT_XML})
@Produces({ContentType.APPLICATION_JSON_UTF_8, ContentType.TEXT_XML_UTF_8})
public interface ReportCostFacade {

    @Path("/getForPersonalByUserIdAndDateTime")
    List<JSONObject> getForPersonalByUserIdAndDateTime(String jsonData);

    @Path("/getForDepartByUserIdAndDateTime")
    List<JSONObject> getForDepartByUserIdAndDateTime(String jsonData);

    @Path("/getForDepartByDepartIdAndDateTime")
    List<JSONObject> getForDepartByDepartIdAndDateTime(String jsonData);

    @Path("/getForCompanyByUserIdAndDateTime")
    List<JSONObject> getForCompanyByUserIdAndDateTime(String jsonData);

    @Path("/getForGroupByUserIdAndDateTime")
    List<JSONObject> getForCompanyByCompanyIdAndDateTime(String jsonData);

    @Path("/getForGroupByUserIdAndDateTime")
    List<JSONObject> getForGroupByUserIdAndDateTime(String jsonData);

    @Path("/getForPersonalCostByUserIdAndDateTime")
    List<JSONObject> getForPersonalCostByUserIdAndDateTime(String jsonData);

    @Path("/getForPersonalSumByUserIdAndDateTime")
    List<JSONObject> getForPersonalSumByUserIdAndDateTime(String jsonData);
}
